<?php
class BaseModel {
	function BaseModel($data_array) {
		foreach ($data_array as $k => $v) {
			$this->$k = $v;
		}
	}
}
?>